package com.itheima.bean;

public class Student {
    private Integer id;
    private String name1;
    private Integer age;

    public Student() {
    }

    public Student(Integer id, String name1, Integer age) {
        this.id = id;
        this.name1 = name1;
        this.age = age;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName1() {
        return name1;
    }

    public void setName1(String name1) {
        this.name1 = name1;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

/*    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name1='" + name1 + '\'' +
                ", age=" + age +
                '}';
    }*/
/*    public static void main(String[] args) {
        System.out.println("main方法中输出语句执行了");

    }
    public static void out(int i){
        System.out.println("Student类中的的静态方法输出语句执行了");

    }*/


}
